$(document).ready(function(){

	// On hover effects for dotastats button
	$(".ds_button").live("mouseover", function() {
		$(this).addClass("ui-state-hover");
	});
	$(".ds_button").live("mouseout", function() {
		$(this).removeClass("ui-state-hover");
	});

	// Unplayed heroes initially hidden
	$("#unplayed_content").hide();
	
	// Toggle unplayed heroes
	$("#unplayed_toggle").live("click", function() {
		
		var showhide = $(this).text();
		if (showhide == "Show")
		{
			$(this).text("Hide");
		}
		else
		{
			$(this).text("Show");
		}
	
		if ($('#unplayed_content').is(":hidden"))
		{
			$('#unplayed_content').slideDown("slow");
		}
		else
		{
			$('#unplayed_content').slideUp("slow");
		}
	});

});